<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="content">
	<form>
		<input type="hidden" name="testPointId" value="${testPointId}">
		<input type="hidden" name="id" value="${tcase.id}">
		<table width="100%">
			<tr>
				<td width="80">名称</td>
				<td><input type="text" name="name" value="${tcase.name }" class="long" check="required" /></td>
			</tr>			
			<tr>
				<td>输入</td>
				<td><input type="text" name="input" value="${tcase.input }" class="long" /></td>
			</tr>			
			<tr>
				<td>期望</td>
				<td><input type="text" name="expected" value="${tcase.expected }" class="long" /></td>
			</tr>
			<c:if test="${tcase !=null }">
			<tr>
				<td>实际</td>
				<td><input type="text" name="actual" value="${tcase.actual }" class="long" /></td>
			</tr>
			<tr>
				<td>结果</td>
				<td>
					<select name="result">
						<option value="0" ${tcase.result==0?'selected':'' }>未定</option>
						<option value="1" ${tcase.result==1?'selected':'' }>通过</option>
						<option value="2" ${tcase.result==2?'selected':'' }>不通过</option>
					</select>
				</td>
			</tr>
			</c:if>
			<tr>
				<td>备注</td>
				<td><textarea name="remark">${tcase.remark }</textarea></td>
			</tr>
		</table>
	</form>
</div>